package com.qf.data.redenvlopes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qf.commons.base.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 红包表(RedEnvlopes)表实体类
 *
 * @author makejava
 * @since 2022-12-03 14:42:13
 */
@Data
@Accessors(chain = true)
public class RedEnvlopes extends BaseEntity implements Serializable {
    //主键
    @TableId(type = IdType.AUTO)
    private Long id;
    //所属的学生id
    private Long sid;
    //红包的总积分额度
    private Integer score;
    //红包的类型 0-固定 1-随机
    private Integer type;
    //红包的份数
    private Integer count;
    //红包的备注 - 祝福语
    private String info;
    //红包的过期时间
    private Date timeout;
}

